package com.alibaba.cloud.ai.example.manus.schedule.job;

import org.quartz.JobExecutionContext;

/**
 * @Author 刘帅
 * @Date: 2025-07-12 17:49
 * @RequestID 需求单号
 * @Version 1.0
 */
public class PlanExecutorJob extends BaseJob{


    @Override
    protected void doExecute(JobExecutionContext context) throws Exception {
        // 获取任务参数
        String planId = context.getJobDetail().getJobDataMap().getString("planId");
        logger.info("开始执行计划任务: {}", planId);
        // 模拟任务处理
        Thread.sleep(1000);

        logger.info("示例任务处理完成");

    }
}
